﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Print.Master" AutoEventWireup="true" CodeBehind="Used.aspx.cs" Inherits="Print.Used" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CpHead" runat="server">
<script type="text/javascript">
    $(function () {
        var thisnav = $("#nav<%=mid %>");
        thisnav.addClass("navhover");

        var navli = $("#navigation-list li");
        navli.mousemove(function () { $(this).addClass("navhover"); });
        navli.mouseout(function () {
            $(this).removeClass("navhover"); if (!$(this).siblings().hasClass('navhover')) { thisnav.addClass("navhover"); }
        });


        var menuli = $(".submenu-main li");
        menuli.mousemove(function () { $(this).addClass("submenu-hover-bg"); });
        menuli.mouseout(function () { $(this).removeClass("submenu-hover-bg"); });

    });
    function goto(i) {
        location.href = "<%=config.P_WebPath %>/items/" + i + ".aspx";
    }
</script>
<!--[if IE 6]>
<script type="text/javascript">
    stuHover = function () {
        var cssRule;
        var newSelector;
        for (var i = 0; i < document.styleSheets.length; i++)
            for (var x = 0; x < document.styleSheets[i].rules.length; x++) {
                cssRule = document.styleSheets[i].rules[x];
                if (cssRule.selectorText.indexOf("LI:hover") != -1) {
                    newSelector = cssRule.selectorText.replace(/LI:hover/gi, "li.iehover");
                    document.styleSheets[i].addRule(newSelector, cssRule.style.cssText);
                }
            }
        var getElm = document.getElementById("content").getElementsByTagName("li");
        for (var i = 0; i < getElm.length; i++) {
            getElm[i].onmouseover = function () {
                this.className += " iehover";
            }
            getElm[i].onmouseout = function () {
                this.className = this.className.replace(new RegExp(" iehover\\b"), "");
            }
        }
    }
    if (window.attachEvent) window.attachEvent("onload", stuHover);
</script>
<![endif]-->
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CpSlider" runat="server">
<asp:Repeater ID="AdRpt" runat="server">
<HeaderTemplate><ul></HeaderTemplate>
<ItemTemplate><li><a href="<%# Eval("AUrl") %>"><img src="<%=config.P_WebPath %><%# Eval("APic") %>" width="918" height="250" alt="<%# Eval("AName") %>" /></a></li></ItemTemplate>
<FooterTemplate></ul></FooterTemplate>
</asp:Repeater>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CpLeft" runat="server">
<div class="leftbar-cpal">
	<div class="submenu-header"><img src="<%=config.P_WebPath %>/images/submenu-title-print.gif" width="230" height="82" alt="印刷服务分类" /></div>
	<div class="submenu-main">
		<ul>
			<asp:Repeater ID="ServiceRpt" runat="server">
				<ItemTemplate>
					<li id="t<%# Eval("Id") %>" onclick="goto(<%# Eval("Id") %>);"><span style="background:<%# Eval("SColor")%>">&nbsp;&nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;<%# Eval("STitle") %></li>
				</ItemTemplate>
			</asp:Repeater>
		</ul>
	</div>
	<div class="submenu-footer"><img src="<%=config.P_WebPath %>/images/submenu-footer.gif" width="230" height="38" alt="submenu-footer" /></div>
</div>
<div class="leftbar-contact-info">
	<div class="cpl-contact"><img src="<%=config.P_WebPath %>/images/child-pages-leftbar-contact-icon.gif" alt="" /></div>
	<div class="online-service"><img alt="" src="<%=config.P_WebPath %>/images/child-pages-leftbar-online-server.gif" usemap="#Map3"/>
		<map name="Map3" id="Map3">
			<area shape="rect" coords="107,9,167,65" alt="菜谱业务咨询 "href="http://wpa.qq.com/msgrd?V=3&Uin=775473306&Site=QQ/&Menu=yes" target="_blank" />
			<area shape="rect" coords="178,9,234,65" alt="加盟合作咨询 "href="http://wpa.qq.com/msgrd?V=3&Uin=1735831376&Site=QQ/&Menu=yes" target="_blank" />
		</map>
	</div>
	<div class="cpl-address" style="width:230px;overflow:hidden"><div class="company-title"><span>营业部信息：</span></div>
		<div class="company-info">
			<p><span>地址：</span><%=config.P_Add %></p>
			<p><span>电话：</span>0756-6222333</p>
            <p><span>传真：</span><%=config.P_Fax %></p>
			<p><span>手机：</span><%=config.P_Tel %> 梁生</p>
		</div>
	</div>
</div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="CpRight" runat="server">
<%--标题--%>
<div class="mainbox-chef-data-title" id="rightTit" runat="server"></div>
<%--内容--%>
<div class="content" id="content">
    <div id="details" class="details" runat="server">
        <ul class="message-list-main">
            <asp:Repeater ID="UsedRpt" runat="server">
            <ItemTemplate>
            <li>
                <div class="mbody">
	                <div class="face left">
		                <img src="<%=config.P_WebPath %><%# Eval("UPic") %>" width="120" height="90" alt="<%# Eval("UName") %>" />
	                </div>
	                <div class="msg left">
		                <div>
			                <div class="tit"><h4 style="background:<%# Eval("UColor") %>"><%# Eval("UName") %></h4></div>
			                <div class="info">
                                名片印刷 高级菜谱餐牌印刷 点菜单印刷 餐用纸巾印刷 牙签印刷 筷子套印刷 会员卡印刷 优惠券印刷 员工工号牌 餐桌海报 促销海报 
                                <%--<%# Eval("UInfo") %>--%>
                            </div>
		                </div>
	                </div>
	                <div class="clearThis"></div>
                </div>

            </li>
            </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
</div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="CpLink" runat="server">
</asp:Content>
